﻿namespace RKMSikraKulingram.PresentationEntities
{
    public sealed class FirstName : PresentationEntity
    {
        private int _personID = 0;
        public int PersonID
        {
            get { return _personID; }
            set { _personID = value; }
        }

        private int _addressID = 0;
        public int AddressID
        {
            get { return _addressID; }
            set { _addressID = value; }
        }

        private string _personFirstName = "";
        public string PersonFirstName
        {
            get { return _personFirstName; }
            set { _personFirstName = value; }
        }

        public FirstName(int personID, int addressID, string personName)
        {
            this.PersonID = personID;
            this.AddressID = addressID;
            this.PersonFirstName = personName;
        }

        public override string Name
        {
            get 
            {
                return PersonFirstName;
            }
        }
    }
}
